/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     reactingTwoPhaseEulerFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         6;

deltaT          0.01;

writeControl    runTime;

writeInterval   6;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression uncompressed;

timeFormat      general;

timePrecision   6;

runTimeModifiable yes;

adjustTimeStep  no;

maxCo           0.5;

maxDeltaT       1;

functions
{
    numberDensity
    {
        type                sizeDistribution;
        functionObjectLibs  ("libreactingEulerFoamFunctionObjects.so");

        writeControl        outputTime;
        writeInterval       1;
        log                 yes;

        functionType        numberDensity;
        abszissaType        volume;
        regionType          all;
        populationBalance   bubbles;
    }

    moments
    {
        type                sizeDistribution;
        functionObjectLibs  ("libreactingEulerFoamFunctionObjects.so");

        writeControl        runTime;
        writeInterval       0.1;
        log                 yes;

        functionType        moments;
        momentOrder         2;
        abszissaType        volume;
        regionType          all;
        populationBalance   bubbles;
    }
}

// ************************************************************************* //
